/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.teach.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lczyfz.istep.common.persistence.Page;
import com.lczyfz.istep.common.service.CrudService;
import com.lczyfz.istep.modules.teach.entity.TeachDistributePaper;
import com.lczyfz.istep.modules.teach.dao.TeachDistributePaperDao;

/**
 * 下发_试卷中间表Service
 * @author cqh
 * @version 2017-05-19
 */
@Service
@Transactional(readOnly = true)
public class TeachDistributePaperService extends CrudService<TeachDistributePaperDao, TeachDistributePaper> {

	public TeachDistributePaper get(String id) {
		return super.get(id);
	}
	
	public List<TeachDistributePaper> findList(TeachDistributePaper teachDistributePaper) {
		return super.findList(teachDistributePaper);
	}
	
	public Page<TeachDistributePaper> findPage(Page<TeachDistributePaper> page, TeachDistributePaper teachDistributePaper) {
		return super.findPage(page, teachDistributePaper);
	}
	
	@Transactional(readOnly = false)
	public void save(TeachDistributePaper teachDistributePaper) {
		super.save(teachDistributePaper);
	}
	
	@Transactional(readOnly = false)
	public void delete(TeachDistributePaper teachDistributePaper) {
		super.delete(teachDistributePaper);
	}
	
}